import numpy as np
import matplotlib.pyplot as plt

A = np.arange(1,10)
s = str(np.outer(A,A))   # 外积
s = s.replace('[','')
s = s.replace(']','')
print(' '+s)


